<template>
  <div class="header">
    <div class="fl">
      <img src="../assets/img/logo.jpg" height="512" width="512" alt="Movie">
    </div>
    <div class="title fl">
      <h3>电影网</h3>
      <p>最权威的电影资讯</p>
    </div>
    <div class="header-search fr" v-on:click="search">
    </div>
  </div>
</template>

<script>
  export default {
    data () {
      return {}
    },
    methods: {
      search: function () {
        this.$router.push({
          path: '/search'
        })
      }
    }
  }
</script>
